﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    CodeFile="PictureNewsEdit.aspx.cs" Inherits="Admin_PictureNewsEdit" Title="南开大学滨海学院新闻网欢迎您"
    ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style2
        {
            width: 148px;
        }
        .style3
        {
            width: 404px;
        }
        .style4
        {
            width: 38%;
        }
        .style6
        {
            width: 224px;
        }
        .style7
        {
            width: 65px;
        }
        .style8
        {
            width: 512px;
        }
        .style10
        {
            width: 392px;
        }
    </style>
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <!--Content-->
    <tr align="center" valign="top" style="width: 1000px">
        <td>
            <table style="width: 1000px; border: 0px;" cellspacing="0px" cellpadding="0px">
                <tr valign="middle">
                    <!--left-->
                    <td style="width: 70%" valign="top">
                        <table style="width: 100%; border: 0px;" cellspacing="0px" cellpadding="0px">
                            <tr style="width: 100%; height: 20px" align="left">
                                <td>
                                    <table style="width: 100%; border: 0px;" cellspacing="0px" cellpadding="0px">
                                        <tr style="height: 20px" align="left">
                                            <td style="width: 3%">
                                            </td>
                                            <td style="width: 65px" class="Guide">
                                                <label>
                                                    当前位置：</label>
                                            </td>
                                            <td style="width: 120px" class="Guide">
                                                <a href="AdminHome.aspx">滨海学院新闻网管理</a>
                                            </td>
                                            <td style="width: 20px" class="Guide">
                                                <label>
                                                    ></label>
                                            </td>
                                            <td class="Guide">
                                                <asp:Label ID="News_Edit" runat="server">图片新闻编辑</asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 1px; background-color: #999999">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table style="width: 100%; border: 0px;" cellspacing="0px" cellpadding="0px">
                                        <tr>
                                            <td style="width: 15%">
                                            </td>
                                            <td>
                                                <table frame="box" border="1">
                                            <td align="center" valign="middle" >
                                                <asp:Label ID="UploadImageLabel" runat="server">上传图片：</asp:Label>

                                                <asp:FileUpload runat="server" ID="FileUpLoad" />

                                                <asp:Button runat="server" ID="Upload" Text="上传" OnClick="Upload_Click" />

                                                        <asp:Image runat="server" ID="HotNews_Picture" Width="130px" 
                                                    AlternateText="未上传图片" Height="80px"/>
                                           
                                            </td>
                                            </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 1px; background-color: #999999">
                                </td>
                            </tr>
                            <tr style="height: 40px">
                                <td>  
                                    <table style="width: 100%; border: 0px;" cellspacing="0px" cellpadding="0px">
                                        <tr align="center">
                                            <td  style="width: 15%">
                                            </td>
                                            <td align="center" valign="bottom" style="background-color: White">
                                                <asp:Label ID="TitleLabel" runat="server">标题：</asp:Label>
                                                <input runat="server" type="text" name="title" id="title" 
                                                    style="width: 300px; margin-left: 0px;" />
                                            </td>
                                        </tr>
                                    </table>
                                <table style="width: 100%; border: 0px;" cellspacing="0px" cellpadding="0px">
                                        <tr>
                                            <td style="width: 15%">
                                            </td>
                                            <td align="center" valign="middle" style="background-color: White">
                                                        &nbsp;</td>
                                        </tr>
                                        </table>
                                </td>
                                <td style="width: 1px; background-color: #999999">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table style="width: 100%; border: 0px;" cellspacing="0px" cellpadding="0px">
                                        
                                            <tr>
                                            <td style="width: 15%">
                                            </td>
                                            <td>
                                                <input runat="server" type="hidden" name="content" id="content" />
                                                <iframe src="../Edit/editor.htm?id=ctl00_ContentPlaceHolder_content&ReadCookie=0"
                                                    style="border: 0px; width: 600px; height: 460px" marginheight="0" marginwidth="0"
                                                    scrolling="no"></iframe>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 1px; background-color: #999999">
                                </td>
                            </tr>
                            <tr style="height: 40px">
                                <td>
                                    <table style="width: 100%; border: 0px;" cellspacing="0px" cellpadding="0px">
                                        <tr>
                                            <td style="width: 15%">
                                            </td>
                                            <td>
                                                <asp:Label ID="PublishLabel" runat="server">发布</asp:Label>
                                            </td>
                                            <td align="left">
                                                <asp:CheckBox ID="cbPublish" runat="server" Text="是" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 1px; background-color: #999999">
                                </td>
                            </tr>
                            <tr style="height: 40px">
                                <td>
                                    <table style="width: 100%; border: 0px;" cellspacing="0px" cellpadding="0px">
                                        <tr>
                                            <td style="width: 15%">
                                            </td>
                                            <td class="style3">
                                                <asp:Button runat="server" ID="Submit_Button" CssClass="SubmitButton" Width="38px"
                                                    Height="21px" BorderWidth="0px" OnClick="Submit_Button_Click" />
                                            </td>
                                            <td>
                                                <asp:Button runat="server" ID="Return_Button" CssClass="ReturnButton" Width="38px"
                                                    Height="21px" BorderWidth="0px" OnClick="Return_Button_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 1px; background-color: #999999">
                                </td>
                            </tr>
                       
</asp:Content>
